package com.rul.mars.mbg.domain;

import com.rul.mars.mbg.model.ProductCategory;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author RuL
 */
@Data
public class ProductCategoryParam {

    @NotEmpty
    @ApiModelProperty(value = "父级分类ID,一级分类的父级分类为0")
    private Long parentId;

    @NotEmpty
    @ApiModelProperty(value = "分类名称")
    private String name;

    @NotEmpty
    @ApiModelProperty(value = "分类级别，1-3")
    private Byte level;

    @NotEmpty
    @ApiModelProperty(value = "展示状态,0-不展示，1-展示")
    private Byte showStatus;

    @ApiModelProperty(value = "分类描述")
    private String description;

    @ApiModelProperty(value = "关键字")
    private String keywords;
}
